package com.sample.tdf.dto;

import cn.com.taiji.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Size;

/**
 * 员工DTO对象
 **/
@ApiModel(value = "Employee DTO对象")
@Data
@NoArgsConstructor
public class EmployeeDTO extends BaseDTO {
    private static final long serialVersionUID = 2555428876699L;

    @ApiModelProperty(value = "员工姓名")
    @Size(min = 0, max = 10, message = "员工名称只能在0-10之间")
    private String employeeName;
}
